export type NavModeType = "side" | "top";
export type LanguageType = "zh" | "en" | "ja";
// 用户信息接口
export interface UserInfo {
  id: number;
  username: string;
  email: string;
  phone?: string;
  role: "admin" | "user";
  status: "active" | "inactive";
  createTime: string;
  password?: string;
  navigation: NavModeType;
  language: LanguageType;
  createdAt?: string;
  updatedAt?: string;
}

// 产品信息接口
export interface Product {
  id: number;
  name: string;
  description: string;
  price: number;
  imageColor: string;
  power: number;
  temperature: number;
  scene: string;
  categoryId: number;
  rating: string;
  sales: number;
  titleLink: string;
  images: string;
  subtitle: string;
  isRecommended: boolean;
}
export interface website{
  wechatCodeUrl: string;
  wechatCode: string;
  id: number;
  phone: string;
  email: string;
}
// 访客记录接口
export interface VisitRecord {
  time: string;
  ip: string;
  location: string;
  device: string;
  source: string;
}

// 统计数据接口
export interface StatisticsCard {
  title: string;
  value: string;
  icon: string;
  color: string;
}

// 系统设置接口
export interface SystemSettings {
  language: "zh" | "en" | "ja";
  navMode: "side" | "top";
  notifications: boolean;
}

export interface Category {
  id: number;
  name: string;
  icon: string;
  description: string;
}

export interface Carousel {
  id: number;
  title: string;
  subTitle: string;
  description?: string;
  imageUrl?: string;
  backgroundColor?: string;
  linkUrl?: string;
  stats?: string;
  status: "active" | "inactive";
  order: number;
  createdAt: string;
  updatedAt: string;
}
